﻿using System.Buffers;

namespace System.IO.Pipelines
{
    public interface IReadableBuffer
    {
        int BlockSize { get; }
        long ReadableLength { get; }
        ReadOnlySequence<byte> GetReadableMemory();
        void ReaderAdvance(SequencePosition pos);
    }
}